/**
 * @file    WebDocHostShowUI.h
 * @brief   
 * @date    2005-03-15 15:55:23
 * @author  GengYong (gengyong@gmail.com)
 *
 */

#ifndef WEBWINDOW_HEADER_WEBDOCHOSTSHOWUI_H
#define WEBWINDOW_HEADER_WEBDOCHOSTSHOWUI_H
//----------------------------------------------------------

#include "WebWindowImpl.h"

namespace xessage_private {
	class WebDocHostShowUI:public IDocHostShowUI
	{
	public:
		WebDocHostShowUI(WebWindowImpl * app);
		virtual ~WebDocHostShowUI();
	public:
		virtual	HRESULT	STDMETHODCALLTYPE QueryInterface(REFIID riid, void ** ppvObject);
		virtual ULONG	STDMETHODCALLTYPE AddRef();
		virtual ULONG	STDMETHODCALLTYPE Release();
		virtual HRESULT STDMETHODCALLTYPE ShowMessage(HWND hwnd, LPOLESTR lpstrText, LPOLESTR lpstrCaption, DWORD dwType, LPOLESTR lpstrHelpFile, DWORD dwHelpContext, LRESULT *plResult);
		virtual HRESULT STDMETHODCALLTYPE ShowHelp(HWND hwnd, LPOLESTR pszHelpFile, UINT uCommand, DWORD dwData, POINT ptMouse, IDispatch *pDispatchObjectHit);
	private:
		WebWindowImpl *	m_appImpl;
		LONG			m_refCount;
	};
}

//----------------------------------------------------------
#endif	//ifndef WEBWINDOW_HEADER_WEBDOCHOSTSHOWUI_H